package com.onekbase.framework.ruuner.web.controller;


import com.onekbase.framework.mybatis.engine.core.MetaScriptEngine;
import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    @Autowired
    SqlSessionTemplate ss;

    @PostMapping("/selectOne")
    public Object selectOne(@RequestBody SeParam param){
        return ss.selectOne(param.getSid(),param.getParam());
    }

}
